package com.example.seckill.mapper;

import com.example.seckill.VO.EventVO;
import com.example.seckill.pojo.Event;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EventMapper {

    Event selectLastEvent();


    int create(Event event);

    List<EventVO> getAllEvent();
}
